import {animate, query, style, transition, trigger} from '@angular/animations';


export const loginTransition = trigger('loginTransition', [
    transition(':enter', [
        query('div.login-main', [
            style({opacity: 0, transform: 'translate3d(0, 15px, 0)'}),
            animate('400ms 200ms')
        ])
    ]),
    transition(':leave', [
        animate('200ms', style({opacity: 0}))
    ])
]);
